<div >


  {{parm}}
  
    <div class="form-group">
        <label for="exampleInputEmail1">标题</label>
        <input type="email" class="form-control" id="exampleInputEmail1" aria-describedby="emailHelp" placeholder="请输入标题" [(ngModel)]="news.title">
        <small id="emailHelp" class="form-text text-muted">标题不能包含特殊字符，长度在30字以内</small>
      </div>

      <div class="form-group">
          <label for="exampleInputEmail1">作者</label>
          <input type="email" class="form-control" id="exampleInputEmail1" aria-describedby="emailHelp" placeholder="请输入名字" [(ngModel)]="news.author">
        </div>

        <div class="form-group">
            <label for="exampleInputEmail1">序号</label>
            <input type="email" class="form-control" id="exampleInputEmail1" aria-describedby="emailHelp" placeholder="请输入数字" [(ngModel)]="news.px">
          </div>




        <div class="form-group">
          <label for="exampleInputEmaill">正文</label>
          <ckeditor [(ngModel)]="news.content" 
          debounce="500" 
          [config]="config"></ckeditor>

        </div>
        <div class="form-group">
        <button class="btn btn-primary" (click)="save()">保存</button>
        <button class="btn btn-danger" (click)="goBack()">取消</button>
        </div>
          
  </div>